﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Huirui.Cavan.Domain.Seedwork;

namespace Huirui.Cavan.Domain.MainBoundedContext.StockModule
{
    public class StockCheckDetail : Persistent<long>
    {
        protected StockCheck _stockCheck;
        protected Stock _stock;
        protected decimal _checkNumber;

        public StockCheckDetail()
        { 
        }

        public StockCheckDetail(StockCheck stockCheck, Stock stock, decimal checkNumber, DateTime createDate, DateTime modifyDate, int editUser)
        {
            this._stockCheck = stockCheck;
            this._stock = stock;
            this._checkNumber = checkNumber;
            this._createDate = createDate;
            this._modifyDate = modifyDate;
            this._editUser = editUser;
        }

        public virtual StockCheck StockCheck
        {
            get { return _stockCheck; }
            set { _stockCheck = value; }
        }

        public virtual Stock Stock
        {
            get { return _stock; }
            set { _stock = value; }
        }

        public virtual decimal CheckNumber
        {
            get { return _checkNumber; }
            set { _checkNumber = value; }
        }
    }
}
